/*
 * @Author: 姚杰鸿 adolphus520@163.com
 * @Date: 2024-11-07 14:54:09
 * @LastEditors: 姚杰鸿 adolphus520@163.com
 * @LastEditTime: 2025-08-01 17:59:36
 * @Description: file content
 */
import { BaseField } from "@/lib/vars";
import type { Role } from "@/components/elm/ElmRoleEdit";

export interface SelOption {
  value: string;
  label: string;
}

export interface Department {
  base_field: BaseField | null | undefined;
  code: string;
  name: string;
  pdepart: Department | null | undefined;
  cdeparts: Department[] | null | undefined;
  users: User[] | null | undefined;
}

export interface User {
  base_field: BaseField | null | undefined;
  name: string;
  gender: number;
  birthday: string;
  email: string;
  mobile: string;
  account: string;
  password: string;
  photo: string;
  status: number;
  roles: Role[] | null | undefined;
  verificationCode: string;
  department: Department | null | undefined;
}
